package secondriver.springsubway.example.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Post implements Serializable {

	private static final long serialVersionUID = -8497280349627485856L;

	private String postKey;

	private String description;

	private String content;

	private Set<String> tags = new HashSet<String>();

	public String getPostKey() {
		return postKey;
	}

	public void setPostKey(String postKey) {
		this.postKey = postKey;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Set<String> getTags() {
		return tags;
	}

	public void setTags(Set<String> tags) {
		this.tags = tags;
	}

	@Override
	public String toString() {
		return "Post [postKey=" + postKey + ", description=" + description
				+ ", content=" + content + ", tags=" + tags + "]";
	}

}